#include "f_7x11.h"

/*
 * The font's code page to map chars to glyphs.  The index of this array is the value of 
 * each char in the string; the value of the array will point to an entry in the font table.
 * 0xFF has the special meaning of "Not implemented; leave blank".
 */
uint8_t codepage_7x11[] PROGMEM = {
	0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, //0x00-0x0F
	0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, //0x10-0x1F
	0x2b,0x24,0xFF,0xFF,0xFF,0x2A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x26,0xFF,0x25,0x28, //0x20-0x2F
	0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0xFF,0xFF,0xFF,0xFF,0xFF,0x27, //0x30-0x3F
	0xFF,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18, //0x40-0x4F
	0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,0x23,0xFF,0x29,0xFF,0xFF,0xFF, //0x50-0x5F
	0xFF,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18, //0x60-0x6F
	0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,0x23,0xFF,0xFF,0xFF,0xFF,0xFF  //0x70-0x7F
};

/*
 * A 7x11 pixel font.
 */
uint8_t font_7x11[] PROGMEM = {
	0x07,0x1f,0x77,0xc7,0x9f,0x7f,0xbe,0x7d,0xdf,0x1c,	//0, 0x0
	0x03,0x0e,0x3c,0x78,0x30,0x60,0xc1,0x83,0x1f,0xbf,	//1
	0x0f,0x3f,0x67,0x06,0x0c,0x38,0xe3,0x8e,0x3f,0xff,	//2
	0x07,0x1f,0x77,0x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0xe3,	//M
	0x18,0xf9,0xf3,0xf7,0xff,0x7e,0x7c,0x78,0xf1,0xe3,	//N
	0x07,0x1f,0x77,0xc7,0x8f,0x1e,0x3c,0x7d,0xdf,0x1c,	//O
	0x1f,0x3f,0x63,0xc7,0xfb,0xe6,0x0c,0x18,0x30,0x60,	//P
	0x07,0x1f,0x77,0xc7,0x8f,0x1e,0xfd,0xfd,0xdf,0x1b,	//Q
	0x1f,0x3f,0x63,0xc7,0xfb,0xf6,0xec,0xf8,0xf1,0xe3,	//R
	0x07,0x9f,0xf3,0xc1,0xe1,0xf0,0xf0,0xf9,0xff,0x3c,	//S
	0x0f,0xdf,0x8c,0x18,0x30,0x60,0xc1,0x83,0x06,0x0c,	//T
	0x18,0xf1,0xe3,0xc7,0x8f,0x1e,0x3c,0x78,0xff,0xbe,	//U
	0x18,0xf1,0xe3,0xc7,0x8f,0x1b,0x66,0xcf,0x8e,0x08,	//V
	0x18,0xf1,0xe3,0xc7,0x8f,0x5f,0xff,0xef,0x9b,0x36,	//W, 0x20
	0x18,0xf1,0xe3,0x6c,0xf8,0xe3,0xe6,0xdd,0xf1,0xe3,	//X
	0x0c,0xd9,0xb3,0x64,0x78,0xf0,0xc1,0x83,0x06,0x0c,	//Y
	0x1f,0xff,0x87,0x1c,0x38,0xe1,0x87,0x1c,0x3f,0xff,	//Z, 0x23
	0x03,0x06,0x0c,0x18,0x30,0x60,0xc1,0x80,0x06,0x0c,	//!, 0x24
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x18,	//.
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x0e,0x18,	//,
	0x07,0x1f,0x63,0xce,0x3c,0x60,0xc1,0x80,0x06,0x0c,	//?
	0x00,0xc1,0x86,0x0c,0x30,0xe1,0x86,0x0c,0x30,0x60,	///
	0x18,0x30,0x30,0x60,0x60,0xe0,0xc0,0xc1,0x81,0x83,	//\, 0x29
	0x1c,0xe9,0xf6,0x0c,0x30,0xe1,0x86,0x0d,0xf2,0xe7,	//%, 0x2A
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00	//Space
	
};
